﻿using ApiGateway.Interface;
using RpcClient;
using RpcModel;
using RpcModular;
using System;
using Wedonek.Demo.RemoteModel.Order.Model;
using Wedonek.Gateway.Modular.Model;

namespace Wedonek.Gateway.Modular.Interface
{
    internal interface IOrderService
    {
        Guid AddOrder(IUserState state, OrderParam add, IClientIdentity identity);
        void DropOrder(Guid orderId);
        OrderData GetOrder(Guid orderId);
        PagingResult<OrderData> Query(IUserState state, BasicPage paging);
    }
}